#ifndef SYNAPTICS_TEST_RAWDATA_H
#define SYNAPTICS_TEST_RAWDATA_H

#define TX_NUM_TRULY  (13)
#define RX_NUM_TRULY  (25)
#define DiagonalUpperLimit_TRULY  (1100)
#define DiagonalLowerLimit_TRULY  (900)

const int16_t raw_cap_data_truly_3035[TX_NUM_TRULY][RX_NUM_TRULY*2] =
{
	{1444,2407,1374,2291,1428,2381,1368,2281,1364,2273,1379,2298,1332,2221,1342,2236,1357,2261,1326,2210,1321,2201,1363,2271,1111,1852,1107,1846,1094,1823,1078,1797,1075,1791,1076,1792,1059,1765,1060,1766,1071,1785,1070,1783,1073,1788,1037,1729,1024,1707,},
	{1370,2283,1338,2230,1339,2232,1324,2207,1304,2173,1322,2204,1306,2177,1300,2167,1306,2176,1273,2122,1277,2128,1263,2106,1194,1990,1184,1973,1203,2005,1159,1932,1165,1941,1158,1930,1150,1916,1148,1914,1157,1929,1151,1919,1156,1927,1127,1878,1117,1862,},
	{1366,2277,1329,2214,1346,2243,1318,2196,1303,2172,1309,2181,1294,2156,1282,2136,1292,2153,1262,2103,1263,2105,1249,2082,1201,2002,1195,1992,1192,1986,1171,1952,1175,1959,1162,1937,1148,1914,1155,1925,1169,1948,1168,1946,1166,1943,1134,1890,1128,1879,},
	{1366,2276,1331,2218,1339,2232,1333,2222,1299,2165,1296,2161,1285,2141,1268,2113,1283,2138,1261,2102,1257,2094,1247,2078,1208,2013,1202,2004,1221,2036,1178,1963,1176,1960,1163,1938,1167,1945,1192,1986,1152,1921,1141,1901,1147,1911,1133,1889,1124,1873,},
	{1367,2278,1331,2218,1339,2231,1325,2209,1291,2152,1292,2154,1273,2122,1268,2114,1281,2135,1251,2085,1253,2089,1244,2074,1210,2017,1208,2013,1236,2059,1191,1985,1184,1973,1175,1959,1172,1954,1188,1980,1160,1933,1146,1910,1156,1927,1135,1892,1128,1881,},
	{1355,2258,1334,2223,1338,2230,1309,2182,1280,2134,1285,2142,1267,2112,1264,2108,1266,2109,1240,2066,1248,2081,1232,2052,1211,2017,1212,2020,1244,2073,1197,1995,1193,1988,1184,1973,1190,1984,1215,2025,1163,1938,1151,1918,1156,1926,1136,1892,1135,1891,},
	{1330,2217,1317,2194,1311,2185,1303,2171,1287,2145,1287,2146,1263,2106,1259,2099,1263,2105,1238,2064,1243,2071,1225,2040,1209,2015,1232,2053,1214,2023,1214,2023,1219,2030,1228,2046,1170,1950,1179,1966,1172,1954,1159,1932,1159,1932,1138,1896,1148,1913,},
	{1318,2197,1316,2194,1306,2177,1300,2166,1286,2143,1294,2157,1261,2102,1256,2094,1266,2110,1227,2045,1228,2046,1219,2032,1211,2019,1250,2083,1217,2028,1214,2023,1206,2010,1197,1995,1176,1960,1186,1976,1180,1966,1165,1941,1169,1948,1156,1927,1157,1928,},
	{1307,2178,1297,2162,1299,2164,1292,2153,1279,2131,1281,2135,1260,2100,1252,2086,1251,2084,1218,2030,1221,2033,1212,2019,1213,2022,1220,2033,1218,2030,1198,1996,1207,2010,1198,1997,1183,1972,1190,1984,1187,1978,1170,1950,1179,1966,1177,1962,1165,1942,},
	{1302,2170,1299,2165,1304,2173,1290,2150,1282,2137,1277,2128,1258,2097,1255,2092,1257,2095,1223,2038,1225,2042,1213,2022,1228,2046,1268,2113,1229,2049,1227,2045,1223,2038,1209,2015,1196,1994,1199,1999,1197,1995,1182,1969,1193,1989,1192,1987,1173,1954,},
	{1296,2160,1287,2145,1298,2163,1291,2152,1275,2125,1273,2121,1259,2099,1253,2088,1249,2081,1224,2040,1225,2042,1213,2020,1255,2091,1255,2091,1243,2071,1229,2048,1236,2059,1221,2036,1211,2019,1213,2022,1205,2007,1199,1998,1210,2016,1200,2000,1177,1961,},
	{1293,2156,1282,2136,1296,2161,1299,2165,1267,2112,1270,2116,1250,2083,1246,2077,1240,2067,1218,2029,1217,2028,1206,2009,1298,2163,1334,2224,1261,2101,1247,2079,1259,2099,1244,2074,1239,2066,1238,2063,1224,2040,1220,2033,1231,2052,1222,2036,1214,2023,},
	{1254,2090,1237,2061,1241,2068,1224,2040,1207,2012,1203,2006,1185,1975,1179,1964,1170,1950,1146,1910,1143,1905,1129,1882,1611,2684,1434,2391,1378,2297,1336,2227,1334,2223,1315,2192,1304,2174,1297,2162,1286,2143,1277,2128,1288,2146,1286,2144,1326,2210,},
};


#define TX_NUM_WINTEK  (14)
#define RX_NUM_WINTEK  (27)
#define DiagonalUpperLimit_WINTEK  (1100)
#define DiagonalLowerLimit_WINTEK  (900)

const int16_t raw_cap_data_wintek_9093[TX_NUM_WINTEK*2][RX_NUM_WINTEK*2] =
{
    //update base line data, 2014/06/20
    //enable
    																																																					
	{1254,	2925,	1193,	2783,	1152,	2688,	1135,	2649,	1126,	2627,	1119,	2611,	1113,	2598,	1108,	2584,	1100,	2568,	1095,	2555,	1090,	2543,	1084,	2528,	1087,	2537,	1094,	2554,	965,	2251,	955,	2229,	947,	2210,	939,	2191,	935,	2183,	940,	2194,	929,	2169,	926,	2160,	926,	2160,	923,	2153,	922,	2151,	943,	2201,	961,	2241},
	{1174,	2739,	1144,	2670,	1116,	2603,	1101,	2569,	1092,	2548,	1085,	2533,	1079,	2517,	1073,	2503,	1065,	2486,	1059,	2470,	1052,	2456,	1046,	2441,	1040,	2426,	1038,	2421,	1001,	2337,	992,	2314,	993,	2318,	977,	2281,	981,	2290,	971,	2265,	968,	2260,	964,	2249,	966,	2253,	964,	2248,	966,	2253,	995,	2321,	1032,	2409},
	{1145,	2671,	1116,	2605,	1102,	2572,	1089,	2541,	1081,	2523,	1075,	2507,	1069,	2493,	1062,	2479,	1055,	2461,	1049,	2447,	1043,	2433,	1035,	2414,	1029,	2401,	1022,	2385,	1001,	2335,	992,	2314,	984,	2296,	984,	2297,	973,	2270,	971,	2265,	968,	2259,	964,	2249,	966,	2255,	965,	2251,	968,	2259,	1002,	2337,	1048,	2444},
	{1127,	2630,	1105,	2578,	1092,	2548,	1080,	2521,	1073,	2503,	1066,	2488,	1061,	2475,	1054,	2460,	1047,	2442,	1040,	2428,	1034,	2413,	1027,	2395,	1021,	2382,	1014,	2365,	998,	2329,	989,	2309,	989,	2309,	975,	2275,	970,	2264,	969,	2260,	966,	2253,	963,	2246,	965,	2251,	965,	2251,	968,	2260,	1002,	2337,	1094,	2552},
	{1119,	2612,	1101,	2569,	1089,	2542,	1077,	2514,	1070,	2497,	1064,	2483,	1058,	2469,	1052,	2455,	1045,	2438,	1038,	2423,	1032,	2408,	1025,	2391,	1019,	2378,	1011,	2360,	1002,	2339,	1001,	2335,	985,	2299,	987,	2303,	974,	2272,	972,	2268,	970,	2264,	967,	2257,	969,	2262,	969,	2261,	973,	2270,	1007,	2351,	1057,	2467},
	{1115,	2601,	1100,	2566,	1088,	2540,	1076,	2512,	1070,	2496,	1064,	2483,	1058,	2469,	1052,	2454,	1045,	2438,	1039,	2423,	1033,	2410,	1025,	2393,	1019,	2378,	1012,	2361,	1016,	2372,	1000,	2332,	991,	2313,	993,	2317,	980,	2286,	978,	2283,	976,	2276,	973,	2271,	976,	2276,	976,	2277,	980,	2286,	1015,	2367,	1057,	2466},
	{1112,	2594,	1098,	2563,	1088,	2539,	1084,	2530,	1069,	2494,	1064,	2482,	1058,	2468,	1052,	2454,	1045,	2437,	1038,	2423,	1032,	2408,	1025,	2391,	1018,	2376,	1011,	2358,	1014,	2367,	1004,	2344,	997,	2325,	990,	2309,	985,	2298,	983,	2294,	982,	2292,	980,	2286,	982,	2292,	982,	2292,	986,	2302,	1022,	2385,	1058,	2468},
	{1105,	2578,	1093,	2551,	1083,	2527,	1073,	2503,	1073,	2505,	1060,	2473,	1054,	2460,	1048,	2446,	1041,	2430,	1035,	2414,	1028,	2400,	1021,	2383,	1015,	2369,	1007,	2350,	1015,	2369,	1006,	2347,	998,	2328,	991,	2311,	987,	2302,	985,	2299,	984,	2296,	982,	2291,	985,	2297,	985,	2298,	989,	2309,	1025,	2391,	1072,	2501},
	{1104,	2575,	1094,	2552,	1084,	2528,	1073,	2504,	1066,	2488,	1068,	2493,	1055,	2461,	1049,	2447,	1042,	2431,	1036,	2416,	1029,	2402,	1022,	2384,	1016,	2371,	1008,	2351,	1022,	2384,	1013,	2363,	1004,	2344,	998,	2328,	994,	2320,	993,	2317,	992,	2314,	989,	2309,	993,	2317,	992,	2316,	998,	2328,	1034,	2414,	1086,	2533},
	{1103,	2575,	1095,	2555,	1085,	2533,	1075,	2507,	1068,	2491,	1062,	2479,	1065,	2484,	1051,	2453,	1044,	2436,	1038,	2421,	1032,	2407,	1024,	2389,	1018,	2374,	1010,	2356,	1029,	2401,	1020,	2380,	1012,	2361,	1006,	2347,	1002,	2337,	1001,	2335,	1000,	2332,	997,	2327,	1001,	2335,	1001,	2336,	1007,	2349,	1044,	2437,	1098,	2563},
	{1103,	2575,	1097,	2559,	1088,	2540,	1077,	2513,	1070,	2498,	1065,	2485,	1060,	2472,	1062,	2477,	1047,	2443,	1041,	2428,	1035,	2414,	1027,	2397,	1021,	2381,	1013,	2363,	1040,	2426,	1029,	2402,	1025,	2391,	1015,	2369,	1013,	2363,	1011,	2358,	1010,	2358,	1008,	2351,	1012,	2361,	1012,	2361,	1017,	2374,	1054,	2458,	1133,	2645},
	{1094,	2554,	1093,	2549,	1085,	2533,	1075,	2509,	1069,	2493,	1063,	2481,	1058,	2468,	1052,	2456,	1054,	2458,	1040,	2426,	1034,	2412,	1026,	2395,	1020,	2380,	1012,	2361,	1052,	2454,	1038,	2423,	1029,	2402,	1022,	2385,	1018,	2375,	1017,	2373,	1016,	2370,	1013,	2363,	1016,	2371,	1016,	2371,	1021,	2382,	1056,	2463,	1115,	2602},
	{1100,	2566,	1097,	2559,	1090,	2544,	1081,	2522,	1074,	2505,	1068,	2493,	1063,	2481,	1057,	2467,	1050,	2451,	1052,	2454,	1038,	2421,	1030,	2403,	1024,	2388,	1016,	2370,	1084,	2529,	1061,	2475,	1052,	2456,	1041,	2429,	1037,	2421,	1036,	2416,	1034,	2414,	1031,	2406,	1034,	2414,	1033,	2410,	1037,	2419,	1071,	2498,	1166,	2721},
	{1069,	2495,	1065,	2485,	1060,	2472,	1051,	2453,	1044,	2437,	1038,	2423,	1032,	2408,	1026,	2393,	1018,	2375,	1011,	2358,	1012,	2360,	996,	2323,	989,	2307,	980,	2288,	1361,	3175,	1202,	2804,	1162,	2712,	1121,	2615,	1110,	2591,	1103,	2573,	1097,	2561,	1092,	2548,	1093,	2550,	1089,	2541,	1090,	2544,	1130,	2637,	1164,	2716},


	//disable
	{1488,2763,1416,2631,1368,2541,1350,2508,1338,2484,1330,2471,1324,2459,1317,2447,1309,2432,1302,2418,1296,2407,1289,2393,1292,2399,1299,2412,1151,2138,1139,2116,1130,2098,1121,2083,1116,2073,1121,2081,1110,2061,1105,2052,1105,2052,1102,2046,1100,2042,1124,2087,1144,2125},
	{1392,2586,1357,2520,1323,2458,1307,2428,1296,2408,1288,2392,1281,2380,1274,2366,1265,2350,1256,2334,1250,2321,1242,2307,1234,2292,1231,2286,1191,2212,1179,2190,1180,2191,1163,2160,1167,2167,1154,2143,1152,2140,1148,2132,1149,2134,1147,2130,1148,2132,1181,2194,1225,2275},
	{1358,2523,1325,2460,1308,2428,1293,2401,1283,2383,1275,2368,1269,2357,1262,2343,1253,2327,1244,2310,1238,2299,1228,2282,1221,2268,1213,2252,1190,2210,1178,2188,1169,2171,1171,2176,1158,2150,1154,2142,1152,2139,1147,2130,1150,2135,1148,2133,1151,2137,1190,2209,1244,2310},
	{1340,2488,1313,2439,1298,2411,1284,2385,1274,2366,1267,2352,1261,2342,1254,2329,1245,2312,1236,2296,1230,2284,1221,2267,1214,2254,1205,2237,1189,2208,1177,2187,1177,2186,1162,2158,1156,2146,1153,2141,1151,2138,1147,2131,1149,2134,1149,2134,1153,2141,1192,2213,1299,2413},
    {1331,2473,1310,2432,1295,2406,1283,2382,1273,2364,1265,2350,1260,2340,1253,2327,1244,2311,1236,2295,1229,2283,1221,2267,1213,2253,1204,2236,1196,2222,1193,2216,1175,2181,1177,2186,1162,2158,1159,2152,1158,2151,1154,2144,1156,2148,1157,2148,1160,2155,1200,2229,1258,2337},
    {1324,2459,1305,2424,1291,2398,1279,2375,1270,2358,1263,2346,1257,2335,1250,2321,1242,2306,1233,2290,1227,2279,1218,2263,1211,2248,1202,2232,1209,2246,1188,2206,1178,2188,1181,2193,1165,2164,1163,2159,1162,2158,1158,2152,1161,2156,1161,2157,1165,2164,1204,2237,1254,2330},
    {1321,2452,1304,2422,1292,2399,1288,2393,1270,2358,1263,2346,1257,2335,1250,2322,1242,2307,1234,2291,1227,2279,1218,2262,1210,2247,1201,2231,1207,2242,1195,2218,1185,2201,1178,2189,1173,2178,1170,2172,1170,2172,1167,2167,1169,2170,1170,2173,1173,2179,1214,2255,1257,2334},
    {1315,2443,1302,2418,1289,2393,1277,2372,1278,2373,1261,2343,1256,2332,1248,2318,1241,2304,1232,2288,1225,2275,1217,2260,1209,2244,1199,2226,1211,2249,1199,2227,1189,2207,1182,2196,1177,2186,1174,2181,1174,2180,1171,2176,1174,2181,1175,2182,1179,2190,1220,2267,1274,2367},
    {1314,2440,1302,2417,1290,2395,1278,2373,1269,2357,1271,2361,1257,2334,1250,2321,1241,2305,1233,2290,1226,2277,1217,2260,1209,2246,1200,2228,1219,2263,1206,2240,1197,2224,1190,2211,1186,2203,1183,2197,1183,2197,1180,2191,1184,2198,1184,2199,1188,2207,1231,2286,1292,2399},
    {1311,2435,1300,2415,1288,2392,1277,2371,1268,2355,1261,2342,1265,2350,1249,2319,1241,2305,1232,2288,1226,2277,1216,2259,1209,2244,1199,2227,1224,2273,1212,2252,1203,2233,1197,2223,1192,2213,1190,2210,1189,2208,1187,2204,1190,2210,1191,2212,1196,2221,1239,2301,1302,2418},
    {1311,2434,1302,2418,1292,2399,1280,2376,1271,2360,1264,2347,1259,2338,1261,2342,1244,2310,1236,2295,1230,2284,1220,2266,1212,2251,1202,2232,1236,2296,1223,2271,1217,2260,1208,2244,1204,2236,1201,2230,1202,2233,1199,2227,1203,2234,1203,2235,1209,2245,1251,2323,1343,2495},
    {1303,2420,1300,2414,1291,2397,1280,2377,1271,2361,1265,2349,1260,2339,1253,2327,1254,2330,1237,2298,1231,2286,1222,2268,1213,2253,1205,2237,1253,2327,1236,2295,1225,2275,1218,2263,1213,2252,1210,2247,1210,2247,1208,2243,1211,2248,1211,2250,1215,2257,1255,2332,1324,2459},
    {1308,2429,1303,2420,1295,2406,1285,2386,1277,2371,1270,2358,1265,2349,1258,2336,1249,2320,1250,2321,1234,2291,1225,2275,1217,2260,1207,2242,1289,2394,1261,2342,1251,2323,1239,2302,1234,2292,1231,2285,1231,2286,1227,2279,1231,2286,1229,2283,1232,2289,1272,2362,1383,2568},
    {1273,2364,1267,2352,1260,2340,1251,2324,1243,2308,1235,2293,1229,2283,1221,2268,1213,2252,1202,2233,1205,2237,1185,2201,1176,2185,1167,2166,1612,2993,1425,2646,1379,2561,1332,2474,1319,2449,1309,2431,1304,2423,1299,2412,1298,2411,1295,2405,1295,2406,1342,2491,1380,2563},

    //update base line data, 2014/03/01
    //update base line data, 2014/02/28
	
};


#define TX_NUM_TPK  (14)
#define RX_NUM_TPK  (27)
#define DiagonalUpperLimit_TPK  (1100)
#define DiagonalLowerLimit_TPK  (900)

const int16_t raw_cap_data_tpk[TX_NUM_TPK*2][RX_NUM_TPK*2] =
{
    //update base line data, 2014/07/18
    //update base line data, 2014/04/11
	//enable cbc
	{846,	1975,	846,	1973,	824,	1924,	822,	1917,	821,	1915,	820,	1913,	819,	1911,	817,	1907,	817,	1905,	813,	1897,	812,	1896,	811,	1893,	810,	1889,	819,	1910,	720,	1680,	714,	1667,	713,	1665,	709,	1655,	707,	1649,	711,	1660,	702,	1637,	695,	1622,	696,	1623,	692,	1614,	693,	1617,	726,	1693,	748,	1745,},
	{832,	1941,	833,	1943,	814,	1898,	809,	1889,	805,	1878,	801,	1870,	798,	1861,	794,	1853,	791,	1846,	786,	1833,	784,	1828,	782,	1824,	777,	1814,	776,	1810,	760,	1773,	756,	1763,	764,	1784,	751,	1753,	756,	1765,	746,	1741,	746,	1740,	739,	1724,	740,	1726,	736,	1717,	738,	1723,	774,	1805,	818,	1908,},
	{821,	1915,	813,	1897,	810,	1889,	806,	1880,	802,	1872,	798,	1863,	795,	1854,	791,	1845,	788,	1839,	783,	1826,	781,	1822,	777,	1814,	774,	1805,	772,	1800,	762,	1779,	758,	1768,	757,	1767,	761,	1777,	751,	1753,	749,	1747,	748,	1746,	741,	1730,	742,	1732,	739,	1725,	742,	1732,	782,	1825,	824,	1924,},
	{812,	1895,	807,	1882,	804,	1875,	800,	1867,	796,	1857,	794,	1853,	791,	1846,	787,	1835,	785,	1831,	779,	1818,	776,	1812,	773,	1805,	770,	1796,	767,	1791,	761,	1775,	757,	1765,	764,	1783,	752,	1756,	750,	1749,	748,	1744,	747,	1742,	741,	1729,	741,	1729,	738,	1723,	742,	1730,	783,	1826,	869,	2029,},
	{810,	1889,	806,	1880,	804,	1875,	800,	1867,	802,	1871,	795,	1856,	792,	1849,	788,	1838,	785,	1833,	779,	1819,	777,	1813,	774,	1805,	770,	1798,	769,	1795,	764,	1784,	767,	1790,	760,	1772,	755,	1763,	753,	1758,	751,	1753,	750,	1751,	745,	1737,	745,	1738,	742,	1731,	746,	1740,	788,	1839,	832,	1942,},
	{809,	1887,	805,	1878,	803,	1873,	800,	1866,	798,	1861,	795,	1855,	792,	1848,	787,	1837,	784,	1830,	778,	1816,	776,	1810,	773,	1803,	769,	1794,	769,	1793,	774,	1807,	762,	1779,	761,	1777,	758,	1768,	755,	1762,	753,	1757,	752,	1756,	747,	1743,	748,	1744,	745,	1738,	748,	1745,	792,	1849,	830,	1936,},
	{809,	1889,	805,	1879,	809,	1887,	809,	1887,	798,	1863,	795,	1855,	792,	1848,	787,	1835,	784,	1828,	778,	1814,	776,	1811,	773,	1803,	770,	1796,	767,	1789,	770,	1796,	765,	1784,	764,	1783,	761,	1775,	758,	1768,	756,	1764,	756,	1765,	751,	1751,	752,	1754,	748,	1745,	752,	1754,	798,	1863,	836,	1950,},
	{806,	1880,	803,	1873,	806,	1880,	798,	1863,	803,	1873,	791,	1846,	788,	1840,	784,	1829,	781,	1822,	776,	1810,	774,	1805,	771,	1798,	767,	1790,	764,	1784,	770,	1796,	764,	1783,	764,	1783,	761,	1775,	758,	1768,	755,	1763,	756,	1764,	750,	1751,	751,	1753,	749,	1747,	752,	1754,	800,	1866,	848,	1980,},
	{806,	1880,	804,	1877,	803,	1875,	800,	1866,	797,	1859,	802,	1871,	791,	1845,	786,	1835,	784,	1828,	778,	1815,	776,	1812,	773,	1803,	769,	1794,	766,	1787,	775,	1809,	770,	1797,	770,	1798,	767,	1789,	765,	1784,	762,	1779,	763,	1779,	757,	1767,	759,	1770,	756,	1763,	759,	1771,	807,	1883,	851,	1985,},
	{804,	1877,	805,	1879,	804,	1877,	801,	1870,	799,	1863,	796,	1856,	800,	1867,	788,	1840,	785,	1833,	780,	1819,	778,	1816,	775,	1807,	771,	1799,	768,	1793,	780,	1821,	776,	1810,	774,	1807,	772,	1800,	769,	1794,	766,	1788,	766,	1788,	761,	1775,	762,	1779,	758,	1768,	763,	1779,	810,	1889,	854,	1992,},
	{806,	1880,	808,	1884,	807,	1884,	803,	1873,	800,	1867,	797,	1859,	794,	1852,	797,	1859,	786,	1835,	780,	1820,	779,	1817,	775,	1809,	773,	1803,	769,	1794,	788,	1838,	782,	1824,	784,	1830,	777,	1814,	775,	1809,	773,	1803,	773,	1803,	766,	1788,	769,	1793,	769,	1795,	769,	1793,	813,	1896,	881,	2057,},
	{793,	1850,	798,	1861,	803,	1873,	795,	1854,	793,	1850,	790,	1842,	787,	1837,	783,	1827,	789,	1841,	776,	1811,	774,	1807,	772,	1800,	769,	1793,	765,	1786,	792,	1848,	785,	1833,	783,	1826,	779,	1817,	775,	1807,	772,	1801,	771,	1800,	766,	1788,	767,	1791,	765,	1785,	768,	1791,	812,	1894,	869,	2027,},
	{798,	1863,	802,	1870,	806,	1882,	798,	1861,	796,	1857,	793,	1851,	790,	1844,	786,	1835,	785,	1831,	787,	1835,	777,	1814,	774,	1807,	771,	1799,	767,	1791,	816,	1904,	802,	1872,	801,	1870,	793,	1851,	794,	1853,	786,	1835,	786,	1833,	779,	1818,	780,	1821,	776,	1812,	779,	1817,	821,	1915,	910,	2124,},
	{762,	1777,	763,	1779,	763,	1781,	760,	1772,	757,	1765,	753,	1757,	750,	1749,	746,	1740,	743,	1733,	738,	1721,	743,	1735,	732,	1708,	729,	1700,	725,	1692,	1014,	2367,	924,	2156,	916,	2137,	876,	2045,	869,	2027,	853,	1990,	846,	1973,	836,	1951,	834,	1945,	828,	1931,	828,	1933,	867,	2022,	901,	2101,},
	//update base line data, 2014/04/11
    //update base line data, 2014/03/01
	//disable cbc
	{1009,1874,1007,1869,981,1823,979,1818,978,1816,977,1815,976,1813,975,1811,973,1807,971,1803,970,1801,968,1798,967,1796,976,1812,862,1602,856,1591,854,1585,849,1576,847,1573,852,1582,841,1562,833,1548,832,1545,827,1537,828,1539,868,1613,896,1665,},
	{990,1839,990,1838,967,1797,963,1788,957,1777,953,1770,950,1763,946,1757,941,1748,937,1740,933,1734,931,1730,927,1721,923,1714,907,1684,902,1676,911,1692,896,1663,903,1677,890,1654,889,1652,883,1639,881,1636,878,1630,880,1633,923,1713,977,1814,},
	{977,1814,966,1795,963,1788,958,1778,955,1773,951,1765,946,1757,942,1750,938,1743,934,1735,931,1729,927,1722,923,1714,919,1706,910,1689,905,1681,903,1676,907,1685,897,1667,894,1659,893,1659,886,1645,884,1642,882,1637,884,1641,932,1732,986,1830,},
	{968,1799,961,1784,957,1777,953,1769,948,1760,946,1757,943,1751,938,1743,935,1736,930,1728,926,1721,923,1714,919,1706,915,1699,908,1687,904,1680,911,1692,898,1668,896,1665,893,1658,892,1656,886,1645,883,1641,881,1636,884,1642,933,1734,1037,1926,},
	{966,1793,960,1782,957,1777,953,1769,956,1775,948,1760,944,1754,940,1746,936,1739,931,1728,928,1723,924,1715,921,1710,918,1704,914,1697,917,1703,907,1684,902,1675,901,1674,897,1667,897,1666,891,1654,888,1650,886,1645,889,1651,941,1748,994,1847,},
	{963,1789,957,1776,954,1772,950,1765,949,1762,946,1757,942,1749,937,1741,933,1733,928,1723,925,1717,921,1710,917,1702,915,1698,923,1713,909,1688,906,1683,902,1676,901,1673,897,1667,897,1666,891,1656,889,1650,887,1646,889,1652,943,1752,989,1838,},
	{964,1790,958,1778,962,1786,962,1786,950,1764,947,1758,942,1750,937,1741,933,1733,928,1723,925,1719,922,1711,918,1705,913,1696,918,1706,913,1695,911,1691,907,1684,905,1681,902,1676,902,1676,896,1665,895,1661,891,1656,895,1661,951,1766,997,1851,},
	{961,1786,957,1776,959,1780,951,1766,957,1776,944,1753,940,1746,936,1739,931,1730,927,1721,925,1717,921,1710,917,1702,912,1694,920,1708,914,1698,912,1694,908,1687,906,1683,903,1678,904,1678,897,1667,896,1665,894,1659,897,1665,954,1773,1014,1884,},
	{960,1782,957,1776,955,1774,951,1766,948,1761,954,1771,942,1749,937,1741,932,1732,928,1723,925,1717,921,1710,917,1703,912,1694,924,1715,919,1706,917,1703,913,1695,912,1693,908,1687,909,1689,903,1678,902,1676,900,1671,903,1676,961,1784,1015,1884,},
	{958,1778,957,1777,956,1775,953,1769,950,1764,946,1758,952,1767,939,1744,935,1737,930,1728,927,1722,923,1715,920,1708,916,1700,930,1728,925,1717,922,1712,918,1706,917,1703,914,1697,914,1697,908,1686,906,1683,902,1676,907,1685,964,1791,1017,1889,},
	{959,1782,960,1782,959,1782,954,1772,952,1767,948,1760,944,1753,949,1763,935,1737,931,1728,929,1724,924,1717,922,1711,916,1701,939,1744,932,1732,934,1735,926,1719,925,1717,921,1710,922,1711,915,1698,915,1699,916,1701,914,1698,968,1798,1050,1950,},
	{946,1756,950,1763,955,1773,946,1757,944,1753,940,1747,938,1741,935,1736,940,1745,926,1721,924,1715,921,1710,918,1704,912,1694,944,1754,937,1741,933,1733,928,1724,925,1717,922,1711,921,1710,915,1699,914,1697,911,1693,914,1697,967,1795,1036,1924,},
	{950,1764,952,1768,958,1778,948,1760,946,1757,943,1751,939,1745,936,1738,933,1732,937,1740,926,1719,922,1711,919,1706,914,1697,970,1802,955,1773,953,1769,942,1750,945,1755,936,1737,935,1737,928,1723,926,1721,923,1713,924,1717,975,1811,1082,2010,},
	{910,1690,910,1690,910,1690,906,1682,903,1677,899,1670,895,1663,892,1656,887,1647,883,1639,889,1652,876,1626,872,1619,867,1610,1205,2237,1101,2044,1090,2024,1043,1938,1036,1924,1017,1889,1009,1874,998,1854,993,1844,987,1832,986,1831,1033,1918,1073,1994,},

};

#define TX_NUM_TPK_FIND7S  (14)
#define RX_NUM_TPK_FIND7S  (27)

const int16_t raw_cap_data_tpk_find7s[TX_NUM_TPK_FIND7S][RX_NUM_TPK_FIND7S*2] =
{
    //update base line data, 2014/03/01
	{1115,1858,1078,1797,1040,1734,1041,1734,1050,1749,1054,1756,1057,1762,1056,1759,1056,1759,1053,1756,1050,1750,1047,1745,1044,1740,1054,1757, 920,1532, 910,1517, 904,1507, 897,1496, 894,1491, 894,1490, 878,1464, 865,1442, 853,1422, 842,1403, 850,1416, 859,1431, 958,1596,}, 
	{1083,1804,1046,1744,1014,1691,1010,1683,1014,1689,1011,1686,1010,1682,1005,1676,1002,1671, 999,1666, 995,1659, 993,1655, 988,1646, 985,1641, 956,1592, 946,1578, 954,1590, 935,1558, 940,1567, 922,1537, 915,1526, 903,1504, 892,1487, 887,1478, 897,1494, 918,1529,1055,1759,}, 
	{1067,1778,1024,1707,1005,1675,1000,1666,1000,1667,1001,1669,1000,1667, 996,1660, 993,1654, 988,1648, 986,1642, 980,1633, 977,1628, 971,1618, 951,1585, 942,1571, 938,1562, 940,1568, 928,1547, 921,1534, 916,1527, 904,1506, 897,1496, 893,1488, 907,1512, 930,1551,1089,1815,}, 
	{1059,1766,1020,1701,1003,1671,1000,1666,1002,1671,1003,1671,1002,1670, 994,1657, 991,1651, 988,1647, 984,1641, 979,1632, 973,1621, 968,1614, 953,1589, 945,1575, 951,1585, 935,1558, 935,1559, 927,1545, 921,1535, 909,1516, 902,1504, 899,1499, 914,1523, 936,1560,1114,1856,}, 
	{1065,1774,1023,1706,1006,1676, 999,1666,1004,1673,1002,1671, 998,1664, 993,1655, 988,1646, 983,1638, 981,1635, 977,1628, 972,1619, 968,1612, 957,1596, 960,1601, 948,1580, 942,1571, 944,1572, 936,1561, 928,1547, 913,1522, 907,1511, 903,1504, 920,1533, 943,1571,1077,1796,}, 
	{1065,1774,1017,1694,1000,1667, 997,1661,1001,1668,1001,1669, 998,1664, 992,1654, 986,1644, 985,1641, 981,1636, 978,1630, 971,1619, 966,1609, 970,1616, 954,1589, 952,1586, 945,1574, 944,1574, 937,1562, 931,1552, 918,1529, 912,1519, 908,1512, 926,1542, 946,1578,1073,1788,}, 
	{1070,1783,1022,1703,1004,1674,1010,1682,1004,1672,1002,1671, 999,1666, 995,1658, 990,1649, 986,1644, 983,1639, 981,1634, 972,1620, 969,1614, 969,1615, 963,1605, 960,1600, 954,1590, 955,1591, 948,1579, 943,1571, 928,1546, 921,1535, 916,1527, 934,1556, 952,1586,1080,1799,}, 
	{1070,1783,1020,1699,1001,1668,1000,1666,1013,1688,1002,1669, 996,1661, 992,1654, 987,1644, 983,1639, 981,1634, 976,1626, 972,1620, 966,1611, 973,1621, 964,1607, 962,1604, 956,1592, 955,1592, 949,1581, 944,1573, 930,1549, 921,1536, 918,1530, 934,1557, 952,1588,1095,1824,}, 
	{1057,1761,1017,1695,1004,1674,1002,1670,1007,1678,1014,1690, 999,1665, 994,1656, 989,1648, 984,1641, 982,1637, 977,1629, 973,1621, 967,1612, 980,1632, 970,1618, 966,1611, 960,1599, 962,1602, 956,1592, 951,1585, 936,1561, 929,1549, 924,1540, 941,1568, 957,1594,1096,1826,}, 
	{1042,1737,1013,1688,1001,1669,1001,1668,1005,1675,1003,1671,1007,1678, 991,1651, 986,1643, 980,1633, 978,1631, 973,1622, 969,1616, 965,1608, 983,1638, 974,1623, 970,1617, 963,1606, 964,1606, 957,1595, 952,1586, 937,1562, 930,1551, 924,1541, 942,1570, 961,1602,1109,1848,}, 
	{1042,1736,1016,1693,1004,1672,1001,1668,1004,1673,1003,1672, 997,1662,1001,1668, 988,1646, 983,1639, 979,1631, 975,1625, 973,1621, 968,1614, 994,1656, 984,1639, 984,1639, 973,1622, 973,1622, 965,1609, 961,1601, 946,1577, 940,1567, 936,1559, 952,1587, 968,1613,1155,1924,}, 
	{1037,1728,1010,1683, 998,1664, 995,1659,1001,1668, 999,1664, 993,1656, 988,1646, 994,1656, 980,1634, 979,1631, 972,1621, 970,1617, 964,1607,1002,1671, 992,1653, 987,1645, 980,1633, 977,1629, 968,1613, 963,1605, 951,1586, 946,1577, 940,1568, 956,1592, 968,1614,1142,1904,}, 
	{1047,1744,1017,1695,1002,1671,1002,1669,1005,1676,1004,1672,1001,1669, 996,1659, 992,1653, 997,1661, 985,1641, 980,1632, 977,1628, 970,1616,1039,1731,1021,1701,1018,1697,1004,1673,1005,1675, 992,1654, 990,1649, 976,1627, 968,1613, 962,1602, 977,1629, 983,1639,1184,1973,}, 
	{1029,1714, 996,1661, 985,1641, 986,1642, 986,1644, 988,1646, 987,1646, 979,1632, 974,1622, 969,1615, 976,1627, 961,1602, 954,1591, 945,1575,1315,2192,1198,1997,1184,1973,1134,1891,1205,2009,1103,1838,1094,1822,1077,1794,1069,1782,1045,1741,1055,1759,1063,1772,1216,2027,}, 
};

#define TX_NUM_YOUNGFAST  (15)
#define RX_NUM_YOUNGFAST  (28)
#define DiagonalUpperLimit_YOUNGFAST  (1100)
#define DiagonalLowerLimit_YOUNGFAST  (900)

const int16_t raw_cap_data_youngfast[TX_NUM_YOUNGFAST][RX_NUM_YOUNGFAST*2] =
{
	{1874,3123,1837,3062,1816,3027,1791,2985,1770,2949,1750,2917,1733,2888,1716,2859,1698,2830,1696,2826,1665,2775,1655,2758,1625,2708,1680,2800,1485,2475,1555,2592,1530,2551,1522,2537,1505,2509,1502,2503,1485,2476,1479,2465,1469,2448,1465,2442,1459,2432,1456,2426,1458,2430,1367,2279,},
	{1880,3133,1844,3074,1824,3040,1802,3003,1781,2968,1761,2934,1744,2906,1725,2875,1707,2845,1691,2818,1674,2790,1656,2760,1636,2726,1688,2814,1509,2516,1570,2616,1546,2577,1538,2563,1520,2534,1516,2527,1500,2500,1494,2490,1483,2472,1479,2465,1474,2456,1471,2451,1474,2456,1387,2312,},
	{1870,3117,1843,3071,1822,3036,1798,2996,1776,2960,1756,2927,1739,2899,1721,2868,1703,2838,1719,2865,1670,2782,1651,2752,1633,2721,1666,2777,1519,2531,1568,2613,1546,2577,1538,2564,1519,2531,1516,2526,1499,2499,1493,2488,1483,2471,1479,2466,1472,2454,1469,2448,1469,2449,1383,2304,},
	{1865,3108,1843,3071,1820,3033,1797,2996,1775,2958,1754,2924,1746,2911,1719,2865,1702,2836,1709,2849,1665,2774,1647,2745,1628,2714,1653,2754,1529,2548,1570,2617,1549,2582,1540,2568,1522,2536,1518,2530,1502,2503,1494,2490,1484,2474,1480,2467,1475,2458,1472,2453,1473,2455,1395,2326,},
	{1857,3096,1841,3069,1819,3031,1796,2993,1774,2956,1754,2923,1736,2894,1727,2878,1699,2832,1708,2846,1661,2769,1644,2741,1628,2713,1640,2733,1541,2568,1571,2618,1551,2585,1543,2572,1523,2538,1519,2532,1503,2504,1497,2495,1487,2479,1484,2473,1478,2464,1476,2460,1477,2461,1403,2339,},
	{1863,3104,1838,3064,1817,3028,1793,2988,1771,2952,1751,2919,1734,2890,1715,2859,1695,2826,1692,2819,1656,2761,1640,2733,1624,2706,1625,2708,1551,2584,1571,2618,1552,2586,1542,2571,1523,2539,1520,2534,1504,2506,1498,2497,1489,2481,1485,2475,1480,2466,1477,2461,1477,2462,1409,2349,},
	{1865,3109,1838,3063,1813,3022,1799,2998,1769,2948,1748,2914,1730,2884,1712,2853,1691,2819,1672,2786,1652,2753,1636,2727,1620,2700,1610,2683,1562,2602,1571,2618,1553,2588,1544,2573,1525,2541,1523,2538,1507,2512,1501,2501,1490,2484,1487,2479,1483,2471,1480,2466,1479,2465,1417,2362,},
	{1867,3111,1836,3061,1813,3022,1790,2984,1776,2960,1747,2911,1728,2879,1708,2847,1688,2813,1668,2780,1648,2746,1632,2720,1619,2698,1598,2664,1575,2625,1574,2623,1556,2594,1547,2579,1529,2549,1527,2545,1511,2518,1504,2508,1496,2493,1492,2487,1487,2478,1483,2471,1481,2468,1418,2363,},
	{1866,3110,1843,3071,1814,3024,1789,2981,1766,2943,1744,2908,1725,2875,1705,2842,1684,2807,1665,2775,1644,2740,1629,2716,1618,2697,1588,2647,1588,2647,1575,2625,1559,2598,1551,2585,1535,2558,1531,2552,1515,2526,1507,2512,1498,2497,1496,2493,1490,2484,1486,2477,1486,2477,1434,2389,},
	{1864,3107,1835,3058,1819,3031,1788,2979,1765,2942,1744,2906,1724,2873,1704,2840,1684,2807,1665,2775,1644,2740,1630,2716,1618,2697,1579,2632,1604,2673,1580,2633,1565,2608,1557,2596,1539,2565,1535,2559,1521,2535,1514,2523,1504,2507,1501,2501,1496,2493,1492,2486,1494,2489,1446,2410,},
	{1866,3110,1834,3057,1829,3048,1788,2980,1764,2941,1743,2904,1724,2873,1704,2840,1684,2807,1666,2776,1645,2741,1632,2720,1621,2702,1571,2619,1620,2700,1585,2642,1572,2619,1562,2604,1542,2571,1540,2567,1525,2541,1519,2531,1509,2516,1507,2511,1502,2503,1500,2499,1500,2501,1466,2443,},
	{1871,3118,1836,3060,1811,3018,1788,2980,1765,2942,1745,2908,1725,2874,1705,2842,1685,2809,1677,2796,1647,2745,1633,2722,1631,2718,1563,2605,1639,2731,1594,2656,1580,2633,1570,2616,1550,2583,1548,2580,1531,2551,1524,2541,1516,2527,1513,2522,1510,2516,1507,2512,1516,2526,1469,2448,},
	{1877,3128,1836,3059,1820,3033,1789,2981,1766,2943,1744,2906,1725,2875,1706,2843,1685,2809,1666,2777,1646,2743,1632,2721,1623,2705,1552,2586,1652,2753,1597,2661,1586,2643,1574,2623,1556,2594,1554,2589,1536,2560,1531,2551,1522,2536,1529,2549,1517,2529,1515,2524,1513,2522,1474,2456,},
	{1880,3134,1837,3062,1811,3019,1790,2984,1766,2944,1744,2907,1726,2876,1706,2843,1684,2807,1666,2777,1646,2743,1632,2721,1625,2708,1542,2571,1674,2790,1609,2681,1592,2653,1583,2639,1565,2608,1562,2603,1545,2575,1540,2566,1532,2553,1530,2550,1528,2546,1524,2540,1534,2556,1494,2490,},
	{1930,3216,1821,3035,1800,3001,1772,2953,1752,2920,1727,2879,1709,2849,1688,2814,1667,2779,1649,2748,1629,2715,1617,2695,1608,2681,1517,2529,1683,2805,1591,2652,1585,2641,1573,2622,1556,2593,1553,2588,1538,2563,1541,2569,1524,2540,1524,2539,1518,2530,1515,2526,1515,2524,1495,2492,},
};

#endif


